package com.qh.resourcehub.sso.handler;

import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.logout.LogoutHandler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
public class LogoutLogHandler implements LogoutHandler {

    @Override
    public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication) {
        LocalDateTime inTime  = LocalDateTime.now();
        String        exMsg   = "";
        LocalDateTime outTime = LocalDateTime.now();
    }
}
